<header>

    <nav id="top_nav" class="navbar navbar-default navbar-fixed-top">
        <div class="top_bg">
            <div class="container">
                  <span class="top_welcome">{eyou:global name='web_attr_27' /}</span>
                  <div class="top_lang">{eyou:lang name='yybl14' /}：
                  {eyou:language type='list'}
                  <a href="{$field.url}"><img src="{$field.logo}" alt="{$field.title}">{$field.title}</a>
                  {/eyou:language}
                  
                  </div>
            </div>
        </div>
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="{eyou:global name='web_cmsurl' /}">
                    <img src="{eyou:global name='web_logo' /}" class="logo" alt="{eyou:global name='web_name' /}" />
                </a>
                <div class="company">
                    <p>东莞孚丰电子科技有限公司</p>
                    <span>DONG GUAN FU FONG TECHNOLOGYINC</span>
                </div>
            </div>

            <div id="navbar" class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li>
                        <a href="{eyou:global name='web_cmsurl' /}" {eyou:eq name='$Request.param.m' value='Index'}class="active"{/eyou:eq}>
<!--                        {eyou:lang name='sys9' /}-->
                        首页
                        </a>
                        <span {eyou:eq name='$Request.param.m' value='Index'}class="active"{/eyou:eq} ></span>
                    </li>
                    {eyou:channel type="top" id="field" currentstyle="active"}
                    <li {eyou:notempty name="$field.children" } class="dropdown" {/eyou:notempty}>
                        <a href="{$field.typeurl}" class="{$field.currentstyle}">{$field.typename}</a>
                    <span class="{$field.currentstyle}"></span>
                        {eyou:notempty name="$field.children"}
                        <a href="{$field.typeurl}" id="app_menudown" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
                            <span class="glyphicon glyphicon-menu-down btn-xs"></span>
                        </a>
                        {/eyou:notempty}
                        {eyou:notempty name="$field.children"}
                        <ul class="dropdown-menu nav_small" role="menu">
                            {eyou:channel name="$field.children" id="field2"}
                            <li><a href="{$field2.typeurl}">{$field2.typename}</a></li>
                            {/eyou:channel}

                        </ul>
                        {/eyou:notempty}
                    </li>
                    {/eyou:channel}
                </ul>
            </div>
        </div>
    </nav>
</header>